//package com.example.tests;

import com.thoughtworks.selenium.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.util.regex.Pattern;

public class Dealer_DealerPopKitPage_LinkVerify    extends SeleneseTestCase {
	@Before
	public void setUp() throws Exception {
		selenium = new DefaultSelenium("localhost", 4444, "*chrome", "http://www.gfwfn.com/DealerLogin.php");
		selenium.start();
	}

	@Test
	public void testUntitled9() throws Exception {
		selenium.open("/DealerLogin.php");
		selenium.type("id=txtUsername", "99999");
		selenium.type("id=txtPassword", "Ldldvht9");
		selenium.click("name=submit");
		selenium.waitForPageToLoad("30000");
		selenium.click("css=img[alt=\"POP Kit\"]");
		selenium.click("link=TO ORDER FROM ESTORE");
		selenium.click("css=div.popcol2 > p > a.storelink");
		selenium.click("link=Floor Graphic");
		selenium.click("link=Wheelstand Insert");
		selenium.click("link=Poster");
		selenium.click("link=Hang Tag");
		selenium.click("link=Cling");
		verifyTrue(selenium.isElementPresent("css=img[alt=\"Click for Live Chat\"]"));
	}
	
	@After
	public void tearDown() throws Exception {
		selenium.stop();
	}
}
